﻿#region Copyright ©2008-2009, Technische Universitaet Muenchen
// ====================================================================================================
//
// Last Changed by       $Author: then $
// Last Changed Date     $LastChangedDate: 2009-05-15 14:42:13 +0200 (Fri, 15 May 2009) $
// Last Changed Revision $Rev: 139 $
//
// ====================================================================================================
#endregion

using System.Collections.Generic;
using System.Xml;
using Tum.CollabXT.SPEM.Resources;

namespace Tum.CollabXT.SPEM
{
    public class Artifact : ProcessElement, IArtifact
    {
        public Artifact() { }
        public Artifact(XmlNode node) 
        {
            Id = node.Attributes["id"].Value;
            Name = node.Attributes["presentationName"].Value;
            Description = node.Attributes["briefDescription"].Value;
        }

        #region IProduct Members

        public bool IsInitial
        {
            get;
            set;
        }

        public bool IsExternal
        {
            get;
            set;
        }

        public bool HasDocumentTemplate
        {
            get;
            set;
        }

        public string DocumentTemplatePath
        {
            get;
            set;
        }

        public string TypeName
        {
            get;
            set;
        }

        #endregion
    }
}
